package com.xr.miniprogram.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xr.common.annotation.Excel;
import com.xr.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 服务说明对象 mp_description
 *
 * @author wls
 * @date 2023-10-16
 */
@TableName("mp_description")
@Data
public class MiniProgramDescription
{
    private static final long serialVersionUID = 1L;

    /** 说明id */
    @TableId(type = IdType.AUTO)
    private Long descriptionId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** 类型描述 */
    @Excel(name = "类型描述")
    private String typeDesc;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createBy;

    /** 创建时间 */
    @Excel(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String updateBy;

    /** 更新时间 */
    @Excel(name = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
